<?php
return [
    'status' => [
        0 => '开启',
        1 => '关闭',
    ],
    'user_status' => [
        0 => '未激活',
        1 => '已激活',
    ],
    'user_level' => [
        0 => '普通会员',
        1 => '推广会员',
    ],
    'link_type' => [
        0 => '当前窗口',
        1 => '新窗口',
    ],
    'rk_type' => [
        0 => '包含匹配',
        1 => '完全匹配',
    ],
    're_type' => [
        0 => '文本',
        1 => '图文',
    ],

    'is_baoyou' => [
        0 => '包邮',
        1 => '不包邮',
    ],

    'is_lianxu' => [
        0 => '连续签到',
        1 => '非连续签到',
    ],


    'billtype' => [
        10 => "推广佣金",
        11 => "销售佣金",
        12 => "签到积分",
        13 => "消费积分",
        14 => "增加积分",
        15 => "增加佣金", 
        16 => "解冻提现佣金",
    
    
        #减少资金
        20 => "兑换商品",
        21 => "提现佣金",
        22 => "减少积分",
        23 => "减少佣金",
    ],

    //账单类型配置+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    'bill_type' => [
        10 => [
            'note'          => '推广佣金',               #备注
            'table'         => 'order_tuiguang_money',#相关表名
            'money_type'    => 'money',      #资金类型
            'isadd'         => true,                  #是否增加资金
        ],
        11 => [
            'note'          => '销售佣金',              
            'table'         => 'order_xiaoshou_money',
            'money_type'    => 'money',      
            'isadd'         => true,                  
        ],
        12 => [
            'note'          => '签到积分',              
            'table'         => 'order_qiandao_points',
            'money_type'    => 'points',      
            'isadd'         => true,                  
        ],
        13 => [
            'note'          => '消费积分',              
            'table'         => 'order_xiaofei_points',
            'money_type'    => 'points',      
            'isadd'         => true,                  
        ],
        14 => [
            'note'          => '增加积分',              
            'table'         => 'order_change',
            'money_type'    => 'points',      
            'isadd'         => true,                  
        ],
        15 => [
            'note'          => '增加佣金',              
            'table'         => 'order_change',
            'money_type'    => 'money',      
            'isadd'         => true,                  
        ],
        16 => [
            'note'          => '解冻提现佣金',              
            'table'         => 'order_tixian',
            'money_type'    => 'money',      
            'isadd'         => true,                  
        ],
    
    
        #减少资金
        20 => [
            'note'          => '兑换商品',              
            'table'         => 'order_duihuan',
            'money_type'    => 'points',      
            'isadd'         => false,                  
        ],
        21 => [
            'note'          => '提现佣金',              
            'table'         => 'order_tixian',
            'money_type'    => 'money',      
            'isadd'         => false,                  
        ],
        22 => [
            'note'          => '减少积分',              
            'table'         => 'order_change',
            'money_type'    => 'points',      
            'isadd'         => false,                  
        ],
        23 => [
            'note'          => '减少佣金',              
            'table'         => 'order_change',
            'money_type'    => 'money',      
            'isadd'         => false,                  
        ],

    ],    
];